package com.ttuproject.ttu.service;

import com.ttuproject.ttu.dao.DistributionTransformerTab;
import com.ttuproject.ttu.dao.InstallationAccount;
import com.ttuproject.ttu.dao.PoleChangeTab;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface QueryStationService {
    List<InstallationAccount> queryrod(int pageNumber);

    List<InstallationAccount> querybox(int pageNumber);

    List<InstallationAccount> querystation(int pageNumber);

    List<InstallationAccount> queryDistributionstation(int pageNumber);

    PoleChangeTab detailedrod(String equipment_name);

    DistributionTransformerTab detailed_distribution(String equipment_name);

    /**
     * 杆变台区搜索框
     * @param equipment_name 设备名称
     */
    List<InstallationAccount> findrod(String equipment_name);

    /**
     * 箱变台区搜索框
     * @param equipment_name 设备名称
     */
    List<InstallationAccount> findBox(String equipment_name);

    /**
     * 站变台区搜索框
     * @param equipment_name 设备名称
     */
    List<InstallationAccount> findStation(String equipment_name);

    /**
     * 配变台区搜索框
     * @param equipment_name 设备名称
     */
    List<InstallationAccount> findDistribution(String equipment_name);
}
